<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>收货地址管理</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
		<meta http-equiv="Pragma" content="no-cache" />
		<meta http-equiv="Expires" content="0" />
		<link href="css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="./css/public.css?v=20181211" />
		<link rel="stylesheet" href="./css/address.css?v=20181211" />
		<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
		<script src='./js/jquery-3.2.1.min.js'></script>
		<script src="./js/mui.min.js"></script>
		<script src="./js/art-template.js"></script>
		<script src="./js/config.js?v=20181211"></script>
	</head>

	<body style="background: #f1f1f1">
		<header class="mui-bar mui-bar-nav header_change_color">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">收货地址管理</h1>
		</header>
		<div class='mui-content'>
			<!--添加收货地址-->
			<div id="address_detail_content"style="margin-bottom: 5rem;overflow-y: scroll">

			</div>

			<!--保存地址-->
	   		 <div class='sure-submit' style="position: fixed" onclick="redirect('add-address.html')">
	   		 	<button id='button' type="submit">添加收货地址</button>
	   		 </div>
		</div>
		<script type="text/html" id="address_detail">
			{{each address_list address}}
			<div class='add-address-container' >
				<div class='add-address'>
					<p><span class='about-name'>收货人：{{address.name}}</span> <span>{{address.mobile}}</span></p>
					<p style="margin:5px;">收货地址：
						{{address.area_info}}{{address.position_address}}{{address.address}}
					</p>
				</div>
				<div class="mui-input-row mui-radio mui-left default-left" data="{{address}}">
					<label style="font-size:16px;width:63%;">默认地址</label>
					<input id="address{{address.id}}" class="address" style="left: 10px!important;" name="radio1" type="radio" checked="checked">
					<button class='edit'>编辑</button>
					<button data="{{address.id}}" class='delate'>删除</button>
				</div>
			</div>
			{{/each}}
		</script>
		<script src='./js/commen.js?v=20181211'></script>
		<script src='./js/address.js?v=20181211'></script>

	</body>

</html>
